<!-- ChildComponent.vue -->
<template>
    <div>
      Current Stock Code: {{ stockCode }}
    </div>
  </template>
  
  <script>
  export default {
    data() {
        return {
            // message:this.$store.state.count
        }
    },
    computed: {
    stockCode() {
      return this.$store.getters.getStockCode;
    }
  },
}
  </script>